package com.bangcommunity.bbframe.common.proxy;

import java.util.Map;

/**
 * @author tanghc
 * @date 18/1/9
 */
public abstract class AfterDelegateExecutor<T> extends DelegateExecutor<T> {
    @Override
    public void doBefore(Map<String, Object> context) {

    }

    @Override
    public abstract T doExecute(Map<String, Object> context);

    @Override
    public boolean doException(Map<String, Object> context, Exception e) {
        return true;
    }

    @Override
    public abstract void doFinal(Map<String, Object> context, T t, Exception e);
}